package com.dongdongshop.service;

import com.dongdongshop.pojo.TbSpecification;
import com.dongdongshop.pojo.TbSpecificationOption;
import com.dongdongshop.pojo.VO.TbSpecificationVO;

import java.util.List;

public interface TbSpecificationService {

    List<TbSpecification> selectBy(TbSpecification tbSpecification);

    boolean deleteById(Integer[] ids);

    boolean insertBy(List<TbSpecificationOption> options, TbSpecification tbSpecification);


    List<TbSpecificationVO> selectByVO(Long id);

    boolean updateBy(List<TbSpecificationOption> options, TbSpecification tbSpecification);

    List<TbSpecification> selectList();

    List<TbSpecificationOption> selectBySpecId(Long id);
}
